-- card: 6984 from stack: in -- bmap block id: 15539 -- flags: 0000 -- background id: 18894 -- name: Network RoomMicro ----- HyperTalk script ----- on openCard global env,service,holder,prodname4,prodname5,network1,sol,protocol global protocol1 put env into cd fld "CPU" set hilite of bkgnd btn "Application Level" to false set hilite of bkgnd btn "Network Level" to true set hilite of bkgnd btn "Hardware Level" to false set hilite of bkgnd btn id 52 to false set hilite of bkgnd btn id 43 to false put "Network Level" into fld "Floorname" put env && "Network Services" & return & "click on the Macintosh" into fld "Tell" if env is "Mac" then put "Macintosh to Macintosh" && sol && "Room" into fld "solName" else put "Macintosh to" && env && sol && "Room" into fld "solName" end if put card field (env && "Network Services") of card "Mac Grid" into holder if holder is empty then put return & "No Solutions installed" & return & "in this version" into fld "Tell" exit openCard end if if protocol <> empty then show cd fld "Protocol" end if if protocol1 <> empty then show cd fld "Protocol2" end if if service is empty then if env is "Digital" then put "File Service" into service if env is "IBM" then put "Terminal Emulation" into service if env is "Mac" then put "File Service" into service if env is "PC" then put "File Service" into service if env is "Tandem" then put "Terminal Emulation" into service if env is "UNIX" then put "File service" into service if env is "Wang" then put "Terminal Emulation" into service if network1 <> empty then if network1 contains "File Transfer" then put "File Transfer" into service if network1 contains "CL/1" then put "File Service" into service if network1 contains "Client" then put "File Service" into service if network1 contains "Translation" then put "Translation" into service if network1 contains "Not" then put "Terminal Emulation" into service end if end if put service into cd fld "Service" --∆ Fill left then right side product choices put "Macintosh side:" & return into cd fld "Side1" repeat with i = 1 to the number of lines of holder if item 3 of line i of holder contains service then if item 1 of line i of holder <> empty then put item 1 of line i of holder & return after cd fld "Side1" end if end if end repeat if line 2 of cd fld "Side1" is empty then put "No products of this type are installed in this version" after cd fld "Side1" end if put env && "side:" & return into cd fld "Side2" repeat with i = 1 to the number of lines of holder if item 3 of line i of holder contains service then if item 2 of line i of holder <> empty then put item 2 of line i of holder & return after cd fld "Side2" end if end if end repeat if line 2 of cd fld "Side2" is empty then put "No products of this type are installed in this version" after cd fld "Side2" end if if prodName4 <> empty then put "click for product info" into fld "click" put prodname4 into fld "Prodname" set hilite of bkgnd btn id 43 to true end if if prodName5 <> empty then put prodname5 into fld "Prodname2" set hilite of bkgnd btn id 52 to true put "click for product info" into fld "click2" end if pass openCard end openCard on closeCard hide cd fld "Side1" put empty into cd fld "Side1" hide cd fld "Side2" put empty into cd fld "Side2" put empty into fld "Prodname" put empty into fld "Prodname2" put empty into cd fld "CPU" put "" into fld "click" put "" into fld "click2" put "" into cd fld "Protocol" put "" into cd fld "Protocol2" set hilite of bkgnd btn id 43 to false set hilite of bkgnd btn id 52 to false pass closeCard end closeCard on clean put empty into cd fld "Protocol" put empty into cd fld "Protocol2" put empty into cd fld "Service" put empty into fld "Network" pass clean end clean on clean1 global prodname4,prodname5,protocol,protcol2 put empty into cd fld "Protocol" put empty into cd fld "Protocol2" put empty into cd fld "Service" put empty into fld "Prodname" put empty into fld "Prodname2" set hilite of bkgnd btn id 52 to false set hilite of bkgnd btn id 43 to false put empty into prodname4 put empty into prodname5 put empty into protocol put empty into protocol2 end clean1 -- part 1 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=0 top=0 right=297 bottom=46 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp global hall,sol,currentfloor put "2 Network Services" into currentfloor set lockscreen to true go to cd hall unlock screen with zoom open slowly end mouseUp On mouseDown global ButtonSND play ButtonSND End mouseDown on mouseEnter changeCurs 6069 put "Back to Hall" & return & "click to go back to hall" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseLeave -- part 7 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=400 top=148 right=171 bottom=439 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 10240 -- line height: 12 -- part name: CPU -- part 67 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=55 top=85 right=119 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 242 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Protocol ----- HyperTalk script ----- on mouseEnter global env put "Product Protocol" & return & "go to Hardware for info" into fld "Tell" end mouseEnter on mouseLeave changeCurs 6069 put empty into fld "Tell" end mouseleave on mouseUp global Help if Help then exit mouseUp send mouseUp to bkgnd btn "Hardware" end mouseUp -- part 71 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=244 top=85 right=123 bottom=438 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 242 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Protocol2 ----- HyperTalk script ----- on mouseEnter global env put "Product Protocol" & return & "go to Hardware for info" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave on mouseUp send mouseUp to bkgnd btn "Hardware Level" end mouseUp -- part 79 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=36 top=128 right=201 bottom=150 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Macintosh ----- HyperTalk script ----- on mouseUp set the visible of cd fld "Side1" to not the visible of cd fld "Side1" end mouseUp on mouseEnter changeCurs 6069 put "Macintosh Products" & return & "click to configure network" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave -- part 80 (button) -- low flags: 00 -- high flags: A000 -- rect: left=78 top=198 right=210 bottom=129 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 242 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: services ----- HyperTalk script ----- on mouseUp send mouseUp to btn id 77 end mouseUp on mouseEnter ChangeCurs 6069 put "Chooser Button" & return & "click to change service" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave On mouseDown Global ClickSND play ClickSND End mouseDown -- part 82 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=376 top=130 right=209 bottom=482 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Host ----- HyperTalk script ----- on mouseUp set the visible of cd fld "Side2" to not the visible of cd fld "Side2" end mouseUp on mouseEnter global env changeCurs 6069 put "Show" && env && "Products" & return & "click to configure network" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave -- part 83 (button) -- low flags: 00 -- high flags: A000 -- rect: left=394 top=186 right=198 bottom=445 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 242 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: services ----- HyperTalk script ----- on mouseUp send mouseUp to btn id 78 end mouseUp on mouseEnter ChangeCurs 6069 put "Chooser Button" & return & "click to change service" into fld "Tell" end mouseEnter on mouseLeave ChangeCurs 69 put empty into fld "Tell" end mouseleave On mouseDown Global ClickSND play ClickSND End mouseDown -- part 85 (field) -- low flags: 01 -- high flags: 0001 -- rect: left=242 top=67 right=84 bottom=427 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 14 -- style flags: 16640 -- line height: 18 -- part name: Service ----- HyperTalk script ----- on mouseEnter put "Current" & return & "Network Service" into fld "Tell" end mouseEnter on mouseLeave put empty into fld "Tell" end mouseleave -- part 86 (field) -- low flags: 01 -- high flags: 0001 -- rect: left=100 top=67 right=84 bottom=242 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 14 -- style flags: 16640 -- line height: 18 -- part name: Title -- part 87 (button) -- low flags: 00 -- high flags: A003 -- rect: left=180 top=217 right=239 bottom=339 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 8192 -- line height: 16 -- part name: Click for Services Chooser ----- HyperTalk script ----- on mouseEnter ChangeCurs 6069 put "Macintosh Services Chooser" & return & "click to change service" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave On mouseDown Global ClickSND play ClickSND End mouseDown on mouseUp Global prodname4,prodname5,protocol get the loc of me put it into MLoc Put "Zoomer " & MLoc & "," & MLoc & "," & "254,151,278,166" into Zoomy do Zoomy Zoomer 254,151,278,166,8,4,507,336 unlock screen with dissolve set cursor to busy put "" into fld "Prodname" put "" into fld "Prodname2" hide cd fld "Side1" hide cd fld "Side2" set hilite of bkgnd btn id 43 to false set hilite of bkgnd btn id 52 to false put empty into cd fld "Side1" put empty into cd fld "Side2" put empty into cd fld "Protocol" put empty into cd fld "Protocol2" put "" into fld "click" put "" into fld "click2" put empty into prodname4 put empty into prodname5 put empty into protocol set lockscreen to true push card go to cd "White" go to cd "Chooser" set cursor to hand unlock screen with dissolve end mouseUp -- part 64 (field) -- low flags: 81 -- high flags: 0007 -- rect: left=25 top=85 right=184 bottom=241 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Side1 ----- HyperTalk script ----- on mouseUp global holder,prodname4,protocol put selectionAndHiliter() into cardline put line cardline of me into prodname4 if prodname4 contains "side" then hide cd btn "side1Hiliter" hide me put empty into prodname4 exit mouseup end if if prodname4 is empty or prodname4 contains "no Products" or prodname4 contains "this version" then answer "Empty Choice!" with "Try Again" exit mouseup end if put prodname4 into fld "Prodname" set hilite of bkgnd btn id 43 to true put "click for product info" into fld "click" repeat with i = 1 to the number of lines of holder if item 1 of line i of holder is prodname4 then put item 6 of line i of holder into dotnames put offset("•",dotnames) into num if num is empty or num is 0 then put "Click below left CPU to see more about" && prodname4 into cd fld "Protocol" exit repeat else put char 1 to (num - 1) of dotnames into protocol put prodname4 && "uses " & protocol into cd fld "Protocol" end if end if end repeat hide cd btn "side1Hiliter" hide me end mouseUP on mouseEnter changeCurs 6069 put "Products Field" & return & "click to select a product" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave On mouseDown Global ClickSND play ClickSND End mouseDown -- part 65 (field) -- low flags: 81 -- high flags: 0007 -- rect: left=242 top=85 right=184 bottom=457 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Side2 ----- HyperTalk script ----- on mouseUp global holder,prodname5,protocol1 put selectionAndHiliter() into cardline put line cardline of me into prodname5 if prodname5 is empty or prodname5 contains "no products" or prodname5 contains "this version" then answer "Empty Choice!" with "Try Again" exit mouseup end if if cd fld "Side2" contains "side:" then put empty into prodname5 hide cd btn "side2Hiliter" hide me exit mouseup end if put prodname5 into fld "Prodname2" set hilite of bkgnd btn id 52 to true put "click for product info" into fld "click2" repeat with i = 1 to the number of lines of holder if item 2 of line i of holder is prodname5 then put item 6 of line i of holder into dotnames put offset("•",dotnames) into num if num is empty or num is 0 then put "Click below right CPU to see more about" && prodname5 into cd fld "Protocol" exit repeat else put char 1 to (num - 1) of dotnames into protocol1 put prodname5 && "uses " & protocol1 into cd fld "Protocol2" end if end if end repeat hide cd btn "side2Hiliter" hide me end mouseUP on mouseEnter changeCurs 6069 put "Products Field" & return & "click to select a product" into fld "Tell" end mouseEnter on mouseLeave changeCurs 69 put empty into fld "Tell" end mouseleave On mouseDown Global ClickSND play ClickSND End mouseDown -- part 88 (button) -- low flags: 80 -- high flags: 4000 -- rect: left=243 top=86 right=99 bottom=440 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: side2Hiliter -- part 89 (button) -- low flags: 80 -- high flags: 4000 -- rect: left=26 top=98 right=111 bottom=224 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: side1Hiliter -- part contents for background part 41 ----- text ----- Macintosh to PC Network Services Room -- part contents for background part 68 ----- text ----- Network Level -- part contents for card part 85 ----- text ----- File Service -- part contents for card part 86 ----- text ----- Current Service: